﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="scrd.aspx.cs" Inherits="Topics_scrd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../css/style.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        .style1
        {
            height: 30px;
        }
        .style2
        {
            width: 16%;
        }
        .style3
        {
            height: 30px;
            width: 16%;
        }
    </style>
</head>
<body>
     <div class="page_title">专题管理&nbsp; &gt; 添加专题</div>
    <form id="form1" runat="server">
    <div class="button_bar">
	    <input type="button" class="common_button" id="btnBack" value="返回"/>
        <asp:Button ID="btnSave" CssClass="common_button" runat="server" Text="保存" onclick="btnSave_Click" />
    </div>
    <div>
        <table class="query_form_table">
            <tr>
                <th class="style2">
                    专题名称
                </th>
                <td colspan="3">
                    <asp:TextBox ID="txtTitle" runat="server" />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                        Display="Dynamic" ErrorMessage="非空" ControlToValidate="txtTitle" 
                        ForeColor="Red"></asp:RequiredFieldValidator>
                </td>
              
            </tr>
            <tr>
                <th class="style2">
                    影响力
                </th>
                <td>
                    <asp:DropDownList ID="ddlYXL" runat="server">
                        <asp:ListItem Text="0">0</asp:ListItem>
                        <asp:ListItem Text="1">1</asp:ListItem>
                        <asp:ListItem Text="2">2</asp:ListItem>
                        <asp:ListItem Text="3">3</asp:ListItem>
                        <asp:ListItem Text="4">4</asp:ListItem>
                        <asp:ListItem Text="5">5</asp:ListItem>
                    </asp:DropDownList>
                </td>
                <th>
                    关注度
                </th>
                <td>
                     <asp:DropDownList ID="ddlGZD" runat="server">
                        <asp:ListItem Text="0">0</asp:ListItem>
                        <asp:ListItem Text="1">1</asp:ListItem>
                        <asp:ListItem Text="2">2</asp:ListItem>
                        <asp:ListItem Text="3">3</asp:ListItem>
                        <asp:ListItem Text="4">4</asp:ListItem>
                        <asp:ListItem Text="5">5</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <th class="style3">
                    内容
                </th>
                <td colspan="3" class="style1">
                    <asp:TextBox ID="txtContent" runat="server" TextMode="MultiLine" Height="108px" 
                        Width="521px" />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                        Display="Dynamic" ErrorMessage="非空" ForeColor="Red" 
                        ControlToValidate="txtContent"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <th class="style2">
                    链接
                </th>
                <td colspan="3">
                    <asp:TextBox ID="txtUrl" runat="server" Width="518px" />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        Display="Dynamic" ErrorMessage="非空" ForeColor="Red" 
                        ControlToValidate="txtUrl"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <th class="style2">
                    涉及股票
                </th>
                <td colspan="3">
                    <asp:TextBox ID="txtStocks" runat="server" Width="518px" />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        Display="Dynamic" ErrorMessage="非空" ForeColor="Red" 
                        ControlToValidate="txtStocks"></asp:RequiredFieldValidator>
                    (000001,000002)</td>
            </tr>   
            <tr>
                <th class="style2">
                    图片链接
                </th>
                <td colspan="3">
                    <asp:HiddenField ID="HiddenField1" runat="server" />
                    <asp:Image ID="Image1" runat="server" />
                    <asp:FileUpload ID="FileUpload1" runat="server" />
                    <asp:Button ID="Button1" runat="server" onclick="Button1_Click" 
                        style="width: 40px" Text="上传" />
                   </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
